"""
业务日志文件 | 映射
"""

from mapping.base_mapping import (
    MappingBase,
    get_field_map,
)
from models.other import BizLogFile
from models.vo import (
    BizLogFileListPage,
    BizLogFileListVO,
)


class BizLogFileMapping(MappingBase):
    """ 业务日志 | 映射 """

    po = BizLogFile
    list_vo = BizLogFileListVO
    vo_page = BizLogFileListPage

    list_mapping = {
        "file_date": get_field_map(["file_date"]),
    }
